package com.kl.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("invoice")
@ApiModel(value="Invoice对象", description="")
public class Invoice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发票表id")
    @TableId(value = "iid", type = IdType.AUTO)
    private Integer iid;

    @ApiModelProperty(value = "运单号")
    private String waybillid;

    @ApiModelProperty(value = "货物类型")
    private String typeGoods;

    @ApiModelProperty(value = "日期")
    private LocalDateTime date;

    @ApiModelProperty(value = "发货人")
    private String consigner;

    @ApiModelProperty(value = "收货人")
    private String consignee;

    @ApiModelProperty(value = "营业部")
    private String salesOffice;

    private String phone;

    @ApiModelProperty(value = "可开发票金额(元)")
    private BigDecimal invoiceAmount;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "删除字段")
    private Long defaultId;


}
